import request from '@/utils/request'

// GET /api/ChsDangerNotPorduce/CorrectiveUpdate/{id}
export function getUpdate(parameter){
    return request({
      url:'/ChsDangerNotPorduce/CorrectiveUpdate/{id}',
      method:'get',
      params: parameter
    })
  }

  // POST /api/ChsDangerNotPorduce/CorrectiveUpdatePost 
  export function getUpdatePost(data){
    return request({
      url:'/ChsDangerNotPorduce/CorrectiveUpdatePost ',
      method:'post',
      data
    })
  }